package Translate;

import Tree.*;
import Temp.*;
public class Ex extends Exp {
	EXP exp = null;
	Ex(EXP exp) {this.exp = exp;}
	EXP unEx() { return exp;} 
	Stm unNx() { return new EXP(exp);} 
	Stm unCx(Label t, Label f) {
	//if (exp!=0) goto T else goto F
	return new CJUMP(CJUMP.NE, exp, new CONST(0), t, f);
	}
}